package Decorator;

/**
 * @ProjectName: 23种设计模式
 * @Package: Decorator
 * @ClassName: CarDecorator
 * @Author: renhan
 * @Description: Car装饰器
 * @Date: 2020/11/29 16:41
 * @Version: 1.0
 */
public abstract class CarDecorator implements Car{
    Car car;
    public CarDecorator(Car car){
        this.car = car;
    }
    public void setCar() {
        this.car = car;
    }
    public Car getCar(){
        return this.car;
    }
    public abstract void show();
}
